package com.regentsoft.cloudback.vo.resp;

import com.regentsoft.cloudback.base.BaseResp;
import com.regentsoft.cloudback.base.ResponseCode;
import com.regentsoft.cloudback.operateAdmin.entity.ActivationSubCode;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * Created by work on 2017/11/30.
 *
 * @author lumr
 */
public class CompanyActivationQueryResp extends BaseResp{

    public CompanyActivationQueryResp(List<ActivationSubCode> data) {
        this.data = data;
        setCode(ResponseCode.SUCCESS);
    }

    @ApiModelProperty(notes = "该状态子激活码的数量")
    private int total;
    @ApiModelProperty(notes = "子激活码")
    private List<ActivationSubCode> data;

    public List<ActivationSubCode> getData() {
        return data;
    }

    public void setData(List<ActivationSubCode> data) {
        this.data = data;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
